package com.sl.water.service;

import cn.hutool.json.JSONArray;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sl.water.entity.BRCompany;
import com.sl.water.vo.AttachVO;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

public interface AttachService  {

    public ResponseEntity<?> upload(String kind, MultipartFile file);
    public ResponseEntity<?> upload(String kind, String fileName,MultipartFile file);
    public void downloadFile( String path, HttpServletResponse response);
    public ResponseEntity<byte[]> previewFile( String path, HttpServletResponse response);
}

